/*
*    Footer&Header JS文件引用输出
*	Version	:	1.0
*	Author	:	baihome
*   License MIT @ http://git.oschina.net/baihome/JSout.js
*/

var jsonpath=[
{
	"strtype":"html",
	"outstr":"<!-- third -->",
	"isout":0
},
{
	"strtype":"path",
	"outstr":"assets/third/jquery/jquery-2.1.3.min.js",
	"isout":0},
{
	"strtype":"path",
	"outstr":"assets/third/jquery/jquery.mobile.custom.min.js",
	"isout":0},
{
	"strtype":"html",
	"outstr":"<!-- agile -->",
	"isout":0},
{
	"strtype":"path",
	"outstr":"assets/agile/js/agile.js",
	"isout":0},
{
	"strtype":"path",
	"outstr":"assets/bridge/exmobi.js",
	"isout":0},
{
	"strtype":"path",
	"outstr":"assets/bridge/agile.exmobi.js",
	"isout":0},
{
	"strtype":"html",
	"outstr":"<!-- app -->","isout":0},
{
	"strtype":"path",
	"outstr":"assets/app/js/app.seedsui.js",
	"isout":0}
]; 

for(var i=0;i<jsonpath.length;i++)
{
	//isout为0显示内容
	if(jsonpath[i].isout==0)
	{
		//如果是文本类型直接输出
		if(jsonpath[i].strtype=="html")
		{
			document.write(jsonpath[i].outstr);	
		}
		else if(jsonpath[i].strtype=="css")
		{
			document.write("<link rel='stylesheet' href='"+jsonpath[i].outstr+"'>");
		}
		else
		{
			document.write("<script src='"+jsonpath[i].outstr+"'><\/script>");
		}
	}
}